package com.hsd.survey.service;

import net.sf.json.JSONObject;

import com.hsd.core.base.service.IBaseService;
import com.hsd.core.page.entity.PageParams;
import com.hsd.core.page.entity.Pagination;

/**
 * <p>
 * 类描述：问卷公用服务
 * <p>
 * 创建人：Abdi
 * <p>
 * 创建时间：Nov 16, 2013 2:45:32 PM
 */
public interface ISurveyCommonService extends IBaseService{
	/**
	 * 加载问卷列表
	 * @param pageParams
	 * @param surveyname
	 * @return
	 */
	public Pagination loadSurveyList(PageParams pageParams,String name,String status);
	
	/**
	 * 加载调研列表
	 * @param pageParams
	 * @return
	 */
	public Pagination loadResearchList(PageParams pageParams,String surveyname,String answername);
	
	/**
	 * 加载调研数据
	 * @param surveyuuid
	 * @return
	 */
	public JSONObject loadSurveyData(String surveyuuid,String researchuuid,boolean isLoadAnswer);
	
	/**
	 * 加载逻辑编辑数据
	 * @param surveyuuid
	 * @return
	 */
	public JSONObject loadLogicData(String surveyuuid);
}
